package com.epoint.mobileoa.receiver;





import com.epoint.mobileoa.R;
import com.epoint.mobileoa.tools.ToastHelp;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;

public class MessageReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		String msg = intent.getStringExtra("msg");
		int ico = intent.getIntExtra("icon", R.drawable.epoint2);
		ToastHelp.showToast(context, msg, 1000,ico,Color.YELLOW);
	}

}
